<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html lang="en">
	<head>
		<base href="<%=basePath%>">
		<meta charset="utf-8" />
		<%@ include file="../top.jsp"%>
		<%@ include file="../nav.jsp"%>
		<script type="text/javascript">
	//保存
	function save() {
		$("#Form").submit();
		$("#zhongxin").hide();
		$("#zhongxin2").show();
	}
</script>
 
	</head>
<body>

	<form action="status/${msg }.do" name="Form" id="Form" method="post">
		<div id="zhongxin">
		  <table id="table_report"
				class="table table-striped table-bordered table-hover">
			<tr>
				<td style="width:80px;text-align: right;padding-top: 13px;">ID号:</td>
				<td><input type="text" name="eid" id="eid" value="${pd.eid}" maxlength="32" placeholder="这里输入ID号"/></td>
			
				<td style="width:80px;text-align: right;padding-top: 13px;">时间:</td>
				<td><input type="text" name="time" id="time" value="${pd.time}" maxlength="32" placeholder="这里输入时间"/></td>
			</tr>
			<tr>
				<td style="width:80px;text-align: right;padding-top: 13px;">状态:</td>
				<td><input type="text" name="status" id="status" value="${pd.status}" maxlength="32" placeholder="这里输入状态"/></td>
			
				<td style="width:80px;text-align: right;padding-top: 13px;">实时照片:</td>
				<td><input type="text" name="photo" id="photo" value="${pd.photo}" maxlength="32" placeholder="这里输入实时照片"/></td>
			</tr>
			<tr>
				<td style="width:80px;text-align: right;padding-top: 13px;">经度:</td>
				<td><input type="text" name="longitude" id="longitude" value="${pd.longitude}" maxlength="32" placeholder="这里输入经度"/></td>
			
				<td style="width:80px;text-align: right;padding-top: 13px;">纬度:</td>
				<td><input type="text" name="latitude" id="latitude" value="${pd.latitude}" maxlength="32" placeholder="这里输入纬度"/></td>
			</tr>
			<tr>
				<td style="width:80px;text-align: right;padding-top: 13px;">高度:</td>
				<td><input type="text" name="height" id="height" value="${pd.height}" maxlength="32" placeholder="这里输入高度"/></td>
			
				<td style="width:80px;text-align: right;padding-top: 13px;">温度:</td>
				<td><input type="text" name="temperature" id="temperature" value="${pd.temperature}" maxlength="32" placeholder="这里输入温度"/></td>
			</tr>
			<tr>
				<td style="width:80px;text-align: right;padding-top: 13px;">湿度:</td>
				<td><input type="text" name="humidity" id="humidity" value="${pd.humidity}" maxlength="32" placeholder="这里输入湿度"/></td>
			
				<td style="width:80px;text-align: right;padding-top: 13px;">气压:</td>
				<td><input type="text" name="air_pressure" id="air_pressure" value="${pd.air_pressure}" maxlength="32" placeholder="这里输入气压"/></td>
			</tr>
			<tr>
				<td style="width:80px;text-align: right;padding-top: 13px;">烟雾:</td>
				<td><input type="text" name="smog" id="smog" value="${pd.smog}" maxlength="32" placeholder="这里输入烟雾"/></td>
			
				<td style="width:80px;text-align: right;padding-top: 13px;">红外:</td>
				<td><input type="text" name="infrared_ray" id="infrared_ray" value="${pd.infrared_ray}" maxlength="32" placeholder="这里输入红外"/></td>
			</tr>
			<tr>
				<td style="width:80px;text-align: right;padding-top: 13px;">紫外:</td>
				<td><input type="text" name="ultraviolet_ray" id="ultraviolet_ray" value="${pd.ultraviolet_ray}" maxlength="32" placeholder="这里输入紫外"/></td>
			
				<td style="width:80px;text-align: right;padding-top: 13px;">超声波:</td>
				<td><input type="text" name=ultrasonic id="ultrasonic" value="${pd.ultrasonic}" maxlength="32" placeholder="这里输入超声波"/></td>
			</tr>
			<tr>
				<td style="width:80px;text-align: right;padding-top: 13px;">加速度:</td>
				<td><input type="text" name="accelerated" id="accelerated" value="${pd.accelerated}" maxlength="32" placeholder="这里输入加速度"/></td>
			
				<td style="width:80px;text-align: right;padding-top: 13px;">陀螺仪:</td>
				<td><input type="text" name="gyroscope" id="gyroscope" value="${pd.gyroscope}" maxlength="32" placeholder="这里输入陀螺仪"/></td>
			</tr>
			<tr>
				<td style="width:80px;text-align: right;padding-top: 13px;">电量:</td>
				<td><input type="text" name="electricity" id="electricity" value="${pd.electricity}" maxlength="32" placeholder="这里输入电量"/></td>
			
				<td style="width:80px;text-align: right;padding-top: 13px;">信号:</td>
				<td><input type="text" name="signal" id="signal" value="${pd.signal}" maxlength="32" placeholder="这里输入信号"/></td>
			</tr>
			<tr>
					<td style="text-align: center;" colspan="10"><a
						class="btn btn-mini btn-primary" onclick="save();">保存</a> <a
						class="btn btn-mini btn-danger" onclick="top.Dialog.close();">取消</a>
					</td>

				</tr>
		</table>
		</div>
	</form>
	
</body>
</html>